import { BasicColumn } from '@/components/Table';
export interface ListData {
  id: number;
  contract_number: string;
  cpmpany_number: string;
  nummber: string;
  contract_name: string;
  company_name: string;
  name: string;
  signing_date: string;
}

export const columns: BasicColumn<ListData>[] = [
  {
    title: '编号',
    key: 'id',
    width: 100,
  },
  {
    title: '劳务合同编号',
    key: 'contract_number',
    width: 120,
  },
  {
    title: '劳务公司编号',
    key: 'cpmpany_number',
    width: 120,
  },
  {
    title: '劳务班组编号',
    key: 'nummber',
    width: 100,
  },
  {
    title: '劳务合同名称',
    key: 'contract_name',
    width: 120,
  },
  {
    title: '劳务公司名称',
    key: 'company_name',
    width: 120,
  },
  {
    title: '劳务班组名称',
    key: 'name',
    width: 120,
  },
  {
    title: '合同签订日期',
    key: 'signing_date',
    width: 120,
  },
];
